from django.urls import re_path as url
from . import views

urlpatterns = [
    url(r'^$', views.index),
    url(r'^index/$', views.index),
    url(r'^login/$', views.login),
    url(r'^aisys/$', views.aisys),
    url(r'^mlogin/$', views.mlogin),
    url(r'^initial/$', views.initial),
    url(r'^register/$', views.register),
    url(r'^logout/$', views.logout),
    url(r'^efflog/$', views.efflog),
    url(r'^sysdata/$', views.sysdata),
    url(r'^cpu/$', views.cpu),
    url(r'^memory_usage/$', views.memory_info_view),
    url(r'^request_count/$', views.request_count_view),
    url(r'^codeindex/$', views.codeindex),
    url(r'^submit/$', views.submit, name='submit'),
    url(r'^manage/$', views.manage),
    url(r'^logdel/$', views.logdel),
    url(r'^sysdel/$', views.sysdel),
    url(r'^edit/$', views.edit),
    url(r'^limit/$', views.limit),
    url(r'^unlockCPU/$', views.unlockCPU),
    url(r'^unlockMEM/$', views.unlockMEM),
    url(r'^control/$', views.control),

    # url('admin/', admin.site.urls),
    # url("",views.main)



]